﻿using System;
using System.Linq;
using VisionCloud.Core.Model.Ms;

namespace VisionCloud.Domain.Repository.Interface.Ms
{
    public interface IProjectQualificationRateRepository : IBaseRepository<ProjectQualificationRateView>
    {
        /// <summary>
        ///查询项目合格率
        /// </summary>
        /// <param name="CompanyId">公司Id</param>
        /// <param name="userId">用户Id</param>
        /// <param name="isAdmin">是否为公司管理员</param>
        /// <returns></returns>
        IQueryable<ProjectQualificationRateView> QueryProjectQualificationRates(Guid CompanyId, Guid userId, bool isAdmin = false);
    }
}